<?php
/**
 * Created by 项目.
 * User: xuguopeng
 * Date: 2020-06-16
 * Time: 15:35
 */

namespace app\api\controller\v1;

use app\api\model\Cost as CostModel;
use app\api\service\Token;
use app\api\controller\BaseController;

class Cost extends BaseController
{
    /**
     * 获取支付信息列表
     */
    public function getCostList()
    {
        Token::getCurrentUid();
        return CostModel::order('price asc')->select()->toArray();
    }
}